Matthias Clasen [Thu, 27 Nov 2003 23:08:51 +0000 (23:08 +0000)]
Remove debug g_print()s.
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
Matthias Clasen [Thu, 27 Nov 2003 21:17:41 +0000 (21:17 +0000)]
Remove debug define.
Thu Nov 27 22:17:50 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c: Remove debug define.
Tim Janik [Thu, 27 Nov 2003 15:51:32 +0000 (15:51 +0000)]
allow accel activation depending on sensitivity and the attach widget.
Thu Nov 27 16:19:03 2003 Tim Janik <timj@gtk.org>
* gtk/gtkmenu.c: allow accel activation depending on sensitivity
and the attach widget.
* gtk/gtkmenuitem.c: allow accel activation depending on visibility,
sensitivity and the parent menu.
* gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
checks whether accelerators may activate a widget. the default handler
demands the widget be sensitive and visible+viewable.
* gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
cinamod [Wed, 26 Nov 2003 18:03:14 +0000 (18:03 +0000)]
fix coloration in several gimp widgets
Miloslav Trmac [Tue, 25 Nov 2003 15:41:36 +0000 (15:41 +0000)]
Update Czech translation
Matthias Clasen [Mon, 24 Nov 2003 23:24:40 +0000 (23:24 +0000)]
Don't show accelerators in popup menus. (#127227)
Tue Nov 25 00:10:05 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (update_node): Don't show accelerators in
popup menus. (#127227)
cinamod [Mon, 24 Nov 2003 15:05:48 +0000 (15:05 +0000)]
fix menu bar bgs
GMT 2003 Tony Gale [Mon, 24 Nov 2003 13:49:16 +0000 (13:49 +0000)]
start 2.x Section 4 updates
Mon Nov 24 13:47:39 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: start 2.x Section 4 updates
Soeren Sandmann [Mon, 24 Nov 2003 03:09:32 +0000 (03:09 +0000)]
Make this function take a GtkRadioToolButton instead of a GtkWidget.
Mon Nov 24 04:05:15 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkradiotoolbutton.[ch]
(gtk_radio_tool_button_new_from_widget): Make this function take a
GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
Cumming)
Soeren Sandmann [Mon, 24 Nov 2003 01:38:52 +0000 (01:38 +0000)]
remove variables in_dnd and leaving_dnd
Mon Nov 24 02:34:00 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd
Soeren Sandmann [Mon, 24 Nov 2003 01:23:04 +0000 (01:23 +0000)]
remove variable n_overflowed_menu_items_when_dnd_started
Mon Nov 24 02:19:33 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c: remove variable
n_overflowed_menu_items_when_dnd_started
Soeren Sandmann [Mon, 24 Nov 2003 01:01:43 +0000 (01:01 +0000)]
Rework sliding algorithm. - No more weird jumping when items are dragged
Mon Nov 24 01:47:10 2003 Soeren Sandmann <sandmann@daimi.au.dk>
Rework sliding algorithm.
- No more weird jumping when items are dragged off and added to
the toolbar,
- More natural item movement
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
function is now responsible for calculating intermediate positions
during item sliding. It is also responsible for starting sliding
if items disappear. Also turn off expanding when there is an
overflow menu.
(gtk_toolbar_begin_sliding, stop_sliding): New functions.
(slide_idle_handler): New function. All the sliding is now done by
gtk_toolbar_size_allocate(), so the idle handler now just checks
if there is more sliding to be done.
(compute_intermediate_allocation, position): new functions
calculating intermediate steps in the slide animations. The new
animation algorithm uses a constant speed instead of a constant
must-be-finished-within time.
(struct _ToolbarContent): use
GtkAllocation goal_allocation; and
GtkAllocation start_allocation; instead of
gint start/goal_width;
* gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
documentation
Matthias Clasen [Sun, 23 Nov 2003 21:27:50 +0000 (21:27 +0000)]
Make tooltip positioning Xinerama-aware. (#127332)
Sun Nov 23 22:26:25 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip
positioning Xinerama-aware. (#127332)
Matthias Clasen [Sun, 23 Nov 2003 20:00:25 +0000 (20:00 +0000)]
Add a missing comma.
Sun Nov 23 21:00:33 2003 Matthias Clasen <maclas@gmx.de>
* gtk/tree_widget.sgml: Add a missing comma.
Kostas Papadimas [Sat, 22 Nov 2003 12:33:58 +0000 (12:33 +0000)]
Updated the Greek translation
Matthias Clasen [Fri, 21 Nov 2003 01:02:45 +0000 (01:02 +0000)]
Make monitor boundaries visible in fake Xinerama mode.
Fri Nov 21 01:57:21 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor
boundaries visible in fake Xinerama mode.
Manish Singh [Thu, 20 Nov 2003 23:42:08 +0000 (23:42 +0000)]
cast to GTK_WIDGET() for the gtk_widget_hide() call.
Thu Nov 20 15:41:56 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
for the gtk_widget_hide() call.
Matthias Clasen [Thu, 20 Nov 2003 23:10:05 +0000 (23:10 +0000)]
Remove leftover documentation of the filter functionality that got removed
Fri Nov 21 00:09:36 2003 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkfontsel.sgml:
* gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of
the filter functionality that got removed long ago.
Danilo Šegan [Thu, 20 Nov 2003 22:33:33 +0000 (22:33 +0000)]
Another update.
2003-11-20 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Another update.
Danilo Šegan [Thu, 20 Nov 2003 22:28:13 +0000 (22:28 +0000)]
Updated Serbian translation.
2003-11-20 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Jonathan Blandford [Thu, 20 Nov 2003 20:14:22 +0000 (20:14 +0000)]
Patch from David Hampton to fix sorting on booleans.
Thu Nov 20 14:51:41 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
from David Hampton to fix sorting on booleans.
Soeren Sandmann [Thu, 20 Nov 2003 15:03:27 +0000 (15:03 +0000)]
Use gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
by Frederic Crozat).
GMT 2003 Tony Gale [Thu, 20 Nov 2003 13:11:41 +0000 (13:11 +0000)]
Update Section 3 to 2.x
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
Federico Mena Quintero [Wed, 19 Nov 2003 22:38:31 +0000 (22:38 +0000)]
Fixes to problems reported by Iain Holmes:
2003-11-19 Federico Mena Quintero <federico@ximian.com>
Fixes to problems reported by Iain Holmes:
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel
yet.
(list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm).
Raymond Penners [Wed, 19 Nov 2003 22:26:45 +0000 (22:26 +0000)]
0.5.2
Kristian Rietveld [Wed, 19 Nov 2003 22:26:42 +0000 (22:26 +0000)]
move function to a somewhat more logical place,
Wed Nov 19 23:19:23 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
to a somewhat more logical place,
(gtk_combo_box_remove_text): New function (#125262, Owen Taylor).
Kristian Rietveld [Wed, 19 Nov 2003 21:26:27 +0000 (21:26 +0000)]
always resize the popup when it is visible, popdown when there are less
Wed Nov 19 22:15:01 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
the popup when it is visible, popdown when there are less chars
than the minimum key length in the entry,
(gtk_entry_completion_changed): popdown when the entry is empty.
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
size request of the vscrollbar to (-1, 0), to get a nicely sized
completion treeview (Fixes #126573, reported by Piers Cornwell),
(_gtk_entry_completion_resize_popup): show/hide the action_view
based on items.
Federico Mena Quintero [Wed, 19 Nov 2003 20:45:17 +0000 (20:45 +0000)]
Turn off the dialog's separator (thanks to Iain Holmes).
2003-11-19 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
off the dialog's separator (thanks to Iain Holmes).
Miloslav Trmac [Wed, 19 Nov 2003 20:31:32 +0000 (20:31 +0000)]
Update Czech translation
Soeren Sandmann [Wed, 19 Nov 2003 19:44:45 +0000 (19:44 +0000)]
set to 200 instead of 225 Impose a minimum width on items that have a
Wed Nov 19 18:15:00 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
* gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
on items that have a submenu. (#120104).
Wed Nov 19 18:11:08 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
"ItemState" field indicating the overflowed-ness etc. of the item.
(gtk_toolbar_size_allocate): update the field here.
Federico Mena Quintero [Wed, 19 Nov 2003 17:03:32 +0000 (17:03 +0000)]
Added a render_icon virtual method.
2003-11-19 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
render_icon virtual method.
* gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
Implement as a stub for now.
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
gtk_file_system_render_icon().
(list_icon_data_func): Likewise.
(toolbar_create): Set the toolbar style to icons only.
* gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
Fix doc comments.
Matthias Clasen [Wed, 19 Nov 2003 01:21:46 +0000 (01:21 +0000)]
Call gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 02:18:37 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
gtk_widget_hide(menu) when reattaching the menu. (#126057)
Kristian Rietveld [Tue, 18 Nov 2003 23:12:10 +0000 (23:12 +0000)]
only unselect all items if the treeview has focus. (Fixes bug reported by
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
only unselect all items if the treeview has focus. (Fixes bug
reported by Marco Pesenti Gritti).
Federico Mena Quintero [Tue, 18 Nov 2003 22:50:26 +0000 (22:50 +0000)]
Added sections section about generating previews and including extra
2003-11-18 Federico Mena Quintero <federico@ximian.com>
* gtk/tmpl/gtkfilechooser.sgml: Added sections section about
generating previews and including extra widgets.
* gtk/gtk-docs.sgml: Added a part about migrating old code to new
widgets.
* gtk/migrating-GtkFileChooser.sgml: New file.
* gtk/Makefile.am (content_files): Added
migrating-GtkFileChooser.sgml.
Kristian Rietveld [Tue, 18 Nov 2003 21:38:54 +0000 (21:38 +0000)]
the total number of actions is "matches + actions - 1". (Fixes #126572).
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
number of actions is "matches + actions - 1". (Fixes #126572).
Christian Persch [Tue, 18 Nov 2003 20:09:33 +0000 (20:09 +0000)]
fix mem leaks (#119435).
Tue Nov 18 21:05:05 2003 Christian Persch <chp@cvs.gnome.org>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix
mem leaks (#119435).
Kristian Rietveld [Tue, 18 Nov 2003 19:57:14 +0000 (19:57 +0000)]
don't try to fetch the child back, since we do know that it is already
Tue Nov 18 20:51:38 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't
try to fetch the child back, since we do know that it is already
gone by now (#126493, Marco Pesenti Gritti).
Kristian Rietveld [Tue, 18 Nov 2003 19:02:30 +0000 (19:02 +0000)]
Fixes based on comments from Owen Taylor, #125264.
Tue Nov 18 19:47:59 2003 Kristian Rietveld <kris@gtk.org>
Fixes based on comments from Owen Taylor, #125264.
* gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
variable,
(gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
a resize,
(gtk_cell_view_get_size_of_row): new function,
(gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
(gtk_cell_view_set_values), (gtk_cell_view_set_model),
(gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
s/cellview/cell_view/ in the function definitions, so they match
with the header file.
* gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
flag again (:, and use gtk_cell_view_get_size_of_row instead of
the measurer, remove _set_size_request call,
(gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
instead of the measurer,
(gtk_combo_box_style_set): queue a resize,
(gtk_combo_box_size_request): update of _remeasure call,
(gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
(gtk_combo_box_cell_layout_pack_end),
(gtk_combo_box_cell_layout_clear),
(gtk_combo_box_set_model): get rid of the measurer,
(gtk_combo_box_cell_layout_add_attribute),
(gtk_combo_box_cell_layout_set_cell_data_func),
(gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
resize instead of calling _remeasure.
Christian Rose [Tue, 18 Nov 2003 13:58:28 +0000 (13:58 +0000)]
Updated Swedish translation.
2003-11-18 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Manish Singh [Tue, 18 Nov 2003 00:26:51 +0000 (00:26 +0000)]
gdk-pixbuf/Makefile.am Use install-data-hook for gdk-pixbuf.loaders and
Mon Nov 17 16:25:04 2003 Manish Singh <yosh@gimp.org>
* gdk-pixbuf/Makefile.am
* modules/input/Makefile.am: Use install-data-hook for
gdk-pixbuf.loaders and gtk.immodules install generation targets.
Fixes #112806.
* gtk/gtkexpander.h: Apply missing declarations from #124449.
Matthias Clasen [Mon, 17 Nov 2003 23:16:49 +0000 (23:16 +0000)]
Fix for #119555, Peter Zelesny:
Tue Nov 18 00:12:55 2003 Matthias Clasen <maclas@gmx.de>
Fix for #119555, Peter Zelesny:
* gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
* gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
by removing the _ prefix.
* gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c,
gdk/gdkwindow.c: Adjust all callers.
Matthias Clasen [Mon, 17 Nov 2003 22:36:27 +0000 (22:36 +0000)]
Only activate if the action is sensitive. (#127187, Christian Persch)
Mon Nov 17 23:36:02 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.c (gtk_action_activate): Only activate if
the action is sensitive. (#127187, Christian Persch)
Matthias Clasen [Mon, 17 Nov 2003 22:29:20 +0000 (22:29 +0000)]
Add gtk_combo_box_new_with_model, gtk_combo_box_set_model.
Mon Nov 17 23:29:21 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add gtk_combo_box_new_with_model,
gtk_combo_box_set_model.
Matthias Clasen [Mon, 17 Nov 2003 22:24:57 +0000 (22:24 +0000)]
Add mouse wheel support. (#126517)
Mon Nov 17 23:23:49 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Add mouse wheel support. (#126517)
Kristian Rietveld [Mon, 17 Nov 2003 22:02:21 +0000 (22:02 +0000)]
add _gtk_entry_completion_resize_popup.
Mon Nov 17 22:56:09 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup.
* gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not
mapped, else resize_popup.
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup),
(_gtk_entry_completion_popup): moved all popup resizing code to
_gtk_entry_completion_resize_popup, and show the window when there
are more than zero items in the completion list again (sigh).
Noah Levitt [Mon, 17 Nov 2003 20:57:40 +0000 (20:57 +0000)]
Check for freetype headers the way freetype wants us to.
2003-11-17 Noah Levitt <nlevitt@columbia.edu>
* configure.in: Check for freetype headers the way freetype
wants us to.
Mark McLoughlin [Mon, 17 Nov 2003 14:53:06 +0000 (14:53 +0000)]
Patch from Jaiserca <jaiserca@inf.upv.es> to add a "use_markup" property.
2003-11-17 Mark McLoughlin <mark@skynet.ie>
Patch from Jaiserca <jaiserca@inf.upv.es> to add a
"use_markup" property. See bug #124449.
* gtk/gtkexpander.c:
(gtk_expander_class_init),
(gtk_expander_init), (gtk_expander_set_property),
(gtk_expander_get_property), (gtk_expander_set_label),
(gtk_expander_set_use_markup), (gtk_expander_get_use_markup):
Add a "use_markup" property and use it when creating the
child label.
Kristian Rietveld [Mon, 17 Nov 2003 12:10:06 +0000 (12:10 +0000)]
Temporary size requisition fix. Will fix it for real tonight.
Mon Nov 17 12:58:32 2003 Kristian Rietveld <kris@gtk.org>
Temporary size requisition fix. Will fix it for real tonight.
* gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag,
(gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine
a good width for the child,
(gtk_combo_box_cell_layout_add_attribute),
(gtk_combo_box_set_cell_data_func),
(gtk_combo_box_cell_layout_clear_attributes): update.
Kristian Rietveld [Sun, 16 Nov 2003 23:20:23 +0000 (23:20 +0000)]
grrrr. broken pipe.
Kristian Rietveld [Sun, 16 Nov 2003 23:20:15 +0000 (23:20 +0000)]
Fixes #124373, Murray Cumming.
Mon Nov 17 00:11:21 2003 Kristian Rietveld <kris@gtk.org>
Fixes #124373, Murray Cumming.
* gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
is no longer construct only,
(gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
(gtk_combo_box_menu_fill): new functions,
(gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
(gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
(gtk_combo_box_list_destroy): updated,
(gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
functions,
(gtk_combo_box_set_model): is now public, updated,
(gtk_combo_box_get_model): small update.
* gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
text_column property is no longer construct only,
(gtk_combo_box_entry_set_text_column): now public,
(gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
new/changed functions.
* tests/testcombo.c: updated.
Matthias Clasen [Sun, 16 Nov 2003 21:54:37 +0000 (21:54 +0000)]
Reinstate fixes for (#124212, Marco Pesenti Gritti):
Sun Nov 16 22:50:58 2003 Matthias Clasen <maclas@gmx.de>
Reinstate fixes for (#124212, Marco Pesenti Gritti):
* gtk/gtkuimanager.c (update_smart_separators): Don't spit
warnings for popups.
(_gtk_menu_is_empty): Return FALSE for non-menus.
Kristian Rietveld [Sun, 16 Nov 2003 20:53:07 +0000 (20:53 +0000)]
just call gtk_cell_view_cell_layout_clear instead of trying to free the
Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellview.c (gtk_cell_view_finalize): just call
gtk_cell_view_cell_layout_clear instead of trying to free the
structure ourselves here. (#125726, Morten Welinder).
Matthias Clasen [Sat, 15 Nov 2003 23:44:33 +0000 (23:44 +0000)]
Fix parameter name mismatches which confuse gtk-doc.
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
* gtk/gtkentrycompletion.h: Fix parameter name mismatches which
confuse gtk-doc.
Sun Nov 16 00:41:48 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end.
Sun Nov 16 00:32:18 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Move GtkFileChooser out of the
private section, in order to get the autogenerated docs
on hierarchy, signals, properties, etc.
Hans Breuer [Sat, 15 Nov 2003 20:35:55 +0000 (20:35 +0000)]
updated added all the new tests
2003-11-15 Hans Breuer <hans@breuer.org>
* gdk/makefile.msc gdk/gdk.def
gtk/gtk.def gtk/makefile.msc.in : updated
* tests/makefile.msc : added all the new tests
* gtk/gtkfilefilter.c(finalize) : initialize filter
from object not from itself
* gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
modified as less as posible to have aworking implementation
on win32. There maybe the desire to merge the unchanged pats into
a common base class.
Also implemented a simple glib based bookmark handling, which
is currently missing in gtkfilesystemunix.[hc] but can be copied
over there.
* gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
* gdk/win32/gdkwindow-win32.c : implement
gdk_window_set_keep_above() and gdk_window_set_keep_below()
* tests/testmerge.c : don't include unistd.h unconditionally,
#define STDOUT_FILENO if it isn't defined
* tests/testfilechooser.c : make it compile on win32
Artur Flinta [Sat, 15 Nov 2003 14:33:40 +0000 (14:33 +0000)]
Updated Polish translation
Tor Lillqvist [Sat, 15 Nov 2003 04:22:16 +0000 (04:22 +0000)]
If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
2003-11-15 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
Matthias Clasen [Fri, 14 Nov 2003 23:28:01 +0000 (23:28 +0000)]
Check that the mask is NULL or a string of the same length consisting
Sat Nov 15 00:26:19 2003 Matthias Clasen <maclas@gmx.de>
* queryloaders.c (loader_sanity_check): Check that the mask
is NULL or a string of the same length consisting entirely of
' ', '!', 'x', 'z', 'n'.
cinamod [Fri, 14 Nov 2003 17:51:31 +0000 (17:51 +0000)]
fix background colors for brick
Danilo Šegan [Thu, 13 Nov 2003 23:25:44 +0000 (23:25 +0000)]
Updated Serbian translation.
2003-11-14 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Vincent van Adrighem [Thu, 13 Nov 2003 18:19:11 +0000 (18:19 +0000)]
Dutch translation updated by Tino Meinen.
2003-11-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Jordi Mallach [Thu, 13 Nov 2003 14:22:49 +0000 (14:22 +0000)]
Updated Catalan translation.
GMT 2003 Tony Gale [Thu, 13 Nov 2003 12:56:25 +0000 (12:56 +0000)]
Update the rest of Section 2
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
Matthias Clasen [Thu, 13 Nov 2003 00:48:03 +0000 (00:48 +0000)]
Use GTK_DATADIR/{icons,pixmaps} instead of
Thu Nov 13 01:46:32 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (gtk_icon_theme_init): Use
GTK_DATADIR/{icons,pixmaps} instead of
GTK_DATA_PREFIX/{icons,pixmaps}. (#123365, Marco Pesenti Gritti)
Matthias Clasen [Wed, 12 Nov 2003 22:49:02 +0000 (22:49 +0000)]
Use the event window of the menuitem to determine the monitor. This fixes
* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event
window of the menuitem to determine the monitor. This fixes some
Matthias Clasen [Wed, 12 Nov 2003 20:53:03 +0000 (20:53 +0000)]
Changes to improve menu positioning on Xinerama (#108328):
Wed Nov 12 21:40:10 2003 Matthias Clasen <maclas@gmx.de>
Changes to improve menu positioning on Xinerama (#108328):
* gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
to store the monitor on which the menu is to be positioned.
* gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
in the GtkMenuPrivate struct and fetch the monitor geometry after
calling the position_func, in case it has been changed.
* gtk/gtkmenu.c (gtk_menu_set_monitor): New function
to be used in GtkMenuPositionFunc implementations for setting
the monitor_num field in GtkMenuPrivate.
* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call
gtk_menu_set_monitor.
Matthias Clasen [Wed, 12 Nov 2003 20:01:26 +0000 (20:01 +0000)]
Clarify the label for the empty list. String change. (#95446, Tomas
Wed Nov 12 21:00:10 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkinputdialog.c (gtk_input_dialog_init): Clarify the
label for the empty list. String change. (#95446, Tomas Ögren)
Matthias Clasen [Wed, 12 Nov 2003 19:58:43 +0000 (19:58 +0000)]
Correct the definition of the values. (#123361, Marco Pesenti Gritti)
Wed Nov 12 20:57:50 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.h (enum GtkIconLookupFlags): Correct
the definition of the values. (#123361, Marco Pesenti Gritti)
Matthias Clasen [Wed, 12 Nov 2003 19:55:46 +0000 (19:55 +0000)]
Map KP_Separator to ','. (#122941, Egmont Koblinger)
Wed Nov 12 20:54:02 2003 Matthias Clasen <maclas@gmx.de>
* gdk/gdkkeyuni.c: Map KP_Separator to ','.
(#122941, Egmont Koblinger)
Åsmund Skjæveland [Wed, 12 Nov 2003 10:21:57 +0000 (10:21 +0000)]
Updated Norwegian Nynorsk translation.
2003-11-12 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Padraig O'Briain [Wed, 12 Nov 2003 09:22:48 +0000 (09:22 +0000)]
*gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for opacity
2003-11-12 Padraig O'Briain <padraig.obriain@sun.com>
*gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for
opacity entry widget. Change tooltip for opacity widgets. (#126426)
Padraig O'Briain [Wed, 12 Nov 2003 09:09:25 +0000 (09:09 +0000)]
Do not let pointer position affect window menu position when popped from
2003-11-12 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position
affect window menu position when popped from keyboard. (#102660)
Soeren Sandmann [Wed, 12 Nov 2003 00:37:02 +0000 (00:37 +0000)]
When we are using the old API, make all items "is_important". That way
Wed Nov 12 01:29:32 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
are using the old API, make all items "is_important". That way
BOTH_HORIZ will continue to show both icon and label in old API
mode.
Pablo Gonzalo del Campo [Tue, 11 Nov 2003 20:07:01 +0000 (20:07 +0000)]
Updated Spanish translation by Francisco Javier F. Serrador
2003-11-11 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
Pablo Gonzalo del Campo [Mon, 10 Nov 2003 18:53:57 +0000 (18:53 +0000)]
Updated Spanish translation by Francisco Javier F. Serrador
2003-11-10 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
Matthias Clasen [Sun, 9 Nov 2003 23:41:15 +0000 (23:41 +0000)]
Remember the new value in all cases. (#126276, Damon Chaplin)
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
Remember the new value in all cases. (#126276, Damon Chaplin)
Matthias Clasen [Sun, 9 Nov 2003 23:18:44 +0000 (23:18 +0000)]
Typo fix.
Matthias Clasen [Sun, 9 Nov 2003 22:08:33 +0000 (22:08 +0000)]
If neither load nor begin_load are available fall back to load_animation
Sun Nov 9 23:07:05 2003 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): If neither
load nor begin_load are available fall back to load_animation
and use gdk_pixbuf_animation_get_static_image() to obtain a
pixbuf. Inefficient, but at least doesn't crash.
Matthias Clasen [Sun, 9 Nov 2003 21:07:31 +0000 (21:07 +0000)]
New function to write out the information for a single loader, factored
Sun Nov 9 21:56:20 2003 Matthias Clasen <maclas@gmx.de>
* queryloaders.c (write_loader_info): New function to write
out the information for a single loader, factored out of
query_module().
(loader_sanity_check): New function to perform
sanity checks on a loader.
(query_module): Use the new functions.
Hasbullah Bin Pit [Sun, 9 Nov 2003 18:40:02 +0000 (18:40 +0000)]
minor fix
Hasbullah Bin Pit [Sun, 9 Nov 2003 14:49:40 +0000 (14:49 +0000)]
Updated Malay translation.
2003-11-09 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Updated Malay translation.
Matthias Clasen [Sat, 8 Nov 2003 22:08:05 +0000 (22:08 +0000)]
Call the do_ functions with the toplevel as argument.
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
functions with the toplevel as argument.
* demos/gtk-demo/geninclude.pl.in: Change the signature
of GDoDemoFunc to take a widget argument
* demos/gtk-demo/ui_manager.c (do_ui_manager):
* demos/gtk-demo/tree_store.c (do_tree_store):
* demos/gtk-demo/textview.c (do_textview):
* demos/gtk-demo/stock_browser.c (do_stock_browser):
* demos/gtk-demo/sizegroup.c (do_sizegroup):
* demos/gtk-demo/pixbufs.c (do_pixbufs):
* demos/gtk-demo/panes.c (do_panes):
* demos/gtk-demo/menus.c (do_menus):
* demos/gtk-demo/list_store.c (do_list_store):
* demos/gtk-demo/images.c (do_images):
* demos/gtk-demo/hypertext.c (do_hypertext):
* demos/gtk-demo/editable_cells.c (do_editable_cells):
* demos/gtk-demo/drawingarea.c (do_drawingarea):
* demos/gtk-demo/dialog.c (do_dialog):
* demos/gtk-demo/colorsel.c (do_colorsel):
* demos/gtk-demo/changedisplay.c (do_changedisplay):
* demos/gtk-demo/button_box.c (do_button_box):
* demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
as argument, and make new windows or dialogs appear on the
same screen. (#80388)
Matthias Clasen [Sat, 8 Nov 2003 21:01:14 +0000 (21:01 +0000)]
Let visible-window default to TRUE, as documented and implemented.
Sat Nov 8 21:59:30 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkeventbox.c (gtk_event_box_class_init): Let
visible-window default to TRUE, as documented and
implemented. (#126270 Damon Chaplin)
Matthias Clasen [Sat, 8 Nov 2003 00:51:10 +0000 (00:51 +0000)]
Mark as 2.4 additions.
Sat Nov 8 01:50:17 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c:
* gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new):
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new):
* gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
2.4 additions.
Federico Mena Quintero [Fri, 7 Nov 2003 23:10:19 +0000 (23:10 +0000)]
Changing GtkFileChooserEntry to use GtkEntryCompletion.
2003-11-07 Federico Mena Quintero <federico@ximian.com>
Changing GtkFileChooserEntry to use GtkEntryCompletion.
* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
a GtkListStore for the completion list. Create a
GtkEntryCompletion and attach it to the chooser entry.
(gtk_file_chooser_entry_finalize): Unref the completion store.
(completion_match_func): New callback for the GtkEntryCompletion.
(completion_idle_callback): Fill the completion store with filenames.
Matthias Clasen [Fri, 7 Nov 2003 21:57:20 +0000 (21:57 +0000)]
Make string setters safe for self-assignment. (#122745, Soeren Sandmann)
Fri Nov 7 22:55:49 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwindow.c (gtk_window_set_role):
* gtk/gtkwindow.c (gtk_window_set_title):
* gtk/gtkwidget.c (gtk_widget_set_name):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title):
* gtk/gtkbutton.c (gtk_button_set_label): Make string setters
safe for self-assignment. (#122745, Soeren Sandmann)
Dafydd Harries [Fri, 7 Nov 2003 17:04:40 +0000 (17:04 +0000)]
Translation ported from gnome-2-4 branch. Go iawn. Blydi cnaf CVS.
Matthias Clasen [Thu, 6 Nov 2003 19:42:39 +0000 (19:42 +0000)]
Fix doc comment. (#126369, Olexiy Avramchenko)
Thu Nov 6 20:41:40 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
(#126369, Olexiy Avramchenko)
Danilo Šegan [Thu, 6 Nov 2003 12:04:09 +0000 (12:04 +0000)]
Updated Serbian translation.
2003-11-06 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Matthias Clasen [Wed, 5 Nov 2003 23:28:53 +0000 (23:28 +0000)]
Fold two similar strings into on. (#126204, Danilo Segan)
Thu Nov 6 00:27:27 2003 Matthias Clasen <maclas@gmx.de>
* io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
strings into on. (#126204, Danilo Segan)
Matthias Clasen [Wed, 5 Nov 2003 23:23:05 +0000 (23:23 +0000)]
Improve the consistency of titles. (#126193, Damon Chaplin)
Thu Nov 6 00:21:41 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorbutton.c (gtk_color_button_init):
* gtk/gtkfontbutton.c (gtk_font_button_init): Improve the
consistency of titles. (#126193, Damon Chaplin)
Matthias Clasen [Wed, 5 Nov 2003 21:50:51 +0000 (21:50 +0000)]
Set torn off menus to be transient for the toplevel they were torn off
Wed Nov 5 22:49:36 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off
menus to be transient for the toplevel they were torn off from.
(gtk_menu_get_toplevel): Auxiliary function to find the
toplevel of a menu. (#54775, Jon-Kare Hellan)
cinamod [Wed, 5 Nov 2003 21:19:13 +0000 (21:19 +0000)]
fix icon sizes
Matthias Clasen [Wed, 5 Nov 2003 20:15:19 +0000 (20:15 +0000)]
Add readonly properties min-position and max-position. (#58431, Padraig
Wed Nov 5 21:07:58 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
min-position and max-position. (#58431, Padraig O'Briain)
Matthias Clasen [Wed, 5 Nov 2003 20:05:47 +0000 (20:05 +0000)]
Change the ranges for Saturation and Value to be 0-100 instead of 0-255,
Wed Nov 5 21:02:26 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (update_color):
(make_label_spinbutton):
(adjustment_changed): Change the ranges for Saturation and
Value to be 0-100 instead of 0-255, since these axes of HSV
are usually expressed in percent. (#121519, Gregory Merchan)
Wed Nov 5 21:02:26 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcolorsel.c (update_color):
(make_label_spinbutton):
(adjustment_changed): Change the ranges for Saturation and
Value to be 0-100 instead of 0-255, since these axes of HSV
are usually expressed in percent. (#121519, Gregory Merchan)
cinamod [Wed, 5 Nov 2003 17:47:36 +0000 (17:47 +0000)]
menubars now have shadow=NONE
cinamod [Wed, 5 Nov 2003 15:10:27 +0000 (15:10 +0000)]
scrollbar steppers are now ETCHED_IN
GMT 2003 Tony Gale [Wed, 5 Nov 2003 08:53:07 +0000 (08:53 +0000)]
More 2.x updates
Wed Nov 5 08:51:48 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: More 2.x updates
cinamod [Tue, 4 Nov 2003 21:59:26 +0000 (21:59 +0000)]
win32 color scheme work
Dafydd Harries [Tue, 4 Nov 2003 19:01:30 +0000 (19:01 +0000)]
Translation ported from gnome-2-4 branch.
Danilo Šegan [Tue, 4 Nov 2003 16:46:30 +0000 (16:46 +0000)]
Updated Serbian translation.
2003-11-04 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.